//
//  BNRItemStore.h
//  Quiz
//
//  Created by YaoJacob on 15/11/3.
//  Copyright © 2015年 Roger. All rights reserved.
//

#import <Foundation/Foundation.h>
@class BNRItem; //高明设计

@interface BNRItemStore : NSObject
@property (nonatomic, readonly) NSArray* allItems; //假的

+(instancetype) sharedStore; //单体
-(BNRItem*)CreateItem;
-(void)removeItem:(BNRItem*)item;
-(void)moveItemAtIndex:(NSUInteger)fromIndex toIndex:(NSUInteger)toIndex;
-(NSString*)itemArchivePathForFile:(NSString *)fileName;
-(BOOL)saveChanges;
@end
